<!DOCTYPE html>

<html>
  <head>
    <meta charset="UTF-8" />
    <title>弹性项目</title>
    <!-- 设置标题栏中标题之前的小图标 -->
    <link rel="shortcut icon" href="kfm.jpg" type="image/x-icon">
    <!-- 链接外部样式文件 -->
    <link rel="stylesheet" href="flex.css">
  </head>
  <body>
    <h3>设置弹性项目</h3>

    <div class="wrapper">
        <p class="props">row nowrap</p>
        <p class="axis">主轴: 水平从左到右 / 交叉轴: 垂直从上到下</p>
        <div class="container first">
            <div class="item">天</div>
            <div class="item">地</div>
            <div class="item">玄</div>
            <div class="item">黄</div>
        </div>
    </div>

    <div class="wrapper">
        <p class="props">row nowrap</p>
        <p class="axis">主轴: 水平从左到右 / 交叉轴: 垂直从上到下</p>
        <div class="container second">
            <div class="item">天</div>
            <div class="item">地</div>
            <div class="item">玄</div>
            <div class="item">黄</div>
        </div>
    </div>

    <div class="wrapper">
        <p class="props">row wrap</p>
        <p class="axis">主轴: 水平从左到右 / 交叉轴: 垂直从上到下</p>
        <div class="container third">
            <div class="item">天</div>
            <div class="item">地</div>
            <div class="item">玄</div>
            <div class="item">黄</div>
        </div>
    </div>

    <div class="wrapper">
        <p class="props">column nowrap</p>
        <p class="axis">主轴: 垂直从上到下 / 交叉轴: 水平从左到右</p>
        <div class="container fourth">
            <div class="item">天</div>
            <div class="item">地</div>
            <div class="item">玄</div>
            <div class="item">黄</div>
        </div>
    </div>

    <div class="wrapper">
        <p class="props">column wrap</p>
        <p class="axis">主轴: 垂直从上到下 / 交叉轴: 水平从左到右</p>
        <div class="container fifth">
            <div class="item">天</div>
            <div class="item">地</div>
            <div class="item">玄</div>
            <div class="item">黄</div>
        </div>
    </div>

    <div class="wrapper">
        <p class="props">column nowrap</p>
        <p class="axis">主轴: 垂直从上到下 / 交叉轴: 水平从左到右</p>
        <div class="container sixth">
            <div class="item">天</div>
            <div class="item">地</div>
            <div class="item">玄</div>
            <div class="item">黄</div>
        </div>
    </div>

  </body>
</html>
